<template>
  <div>
    <MyTag v-model="tag"></MyTag>
  </div>
</template>

<script>
import MyTag from "@/components/fu-tag.vue";
export default {
  components: {
    MyTag,
  },
  data() {
    return {
      tag: "Hello!",
    };
  },
  watch: {
    tag: {
      handler(newValue) {
        this.tag = newValue || "自定义标签";
      },
    },
  },
};
</script>
